package com.jijuxie.message.service;

import java.util.List;
import java.util.Map;

public interface IMessagePushService {

    /**
     * 推送消息给单个用户
     */
    void pushMessage(String code, Long userId, Map<String, Object> params);

    /**
     * 批量推送消息给多个用户
     */
    void pushMessageBatch(String code, List<Long> userIds, Map<String, Object> params);
}
